Regain access to locked files in Windows 10 by creating a new local administrator account or using the net user command.